<template>
	<view class="box">
		<image class="logo" :src="getGlobalData().merchantLogo"></image>
		<view class="app-name">{{ getGlobalData().merchantName }}</view>
		<view class="current-version">当前版本{{user().user.appVersion || '1.0.0'}}</view>
		<view class="last-version">最新版本{{user().user.appVersion || '1.0.0'}}</view>
	</view>
</template>

<script>
	import globalData from '../../common/js/globalData.js'
	import user from '../../common/js/user.js'
	export default {
		data() {
			return {

			}
		},
		onLoad() {
			 // #ifdef APP-PLUS || APP-NVUE
			plus.navigator.setStatusBarStyle('dark');
			 // #endif
		},
		methods: {
			getGlobalData() {
				return globalData;
			},
			user() {
				return user;
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: white;
	}

	.box {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.logo {
		margin-top: 86px;
		width: 105px;
		height: 105px;
	}

	.app-name {
		margin-top: 18px;
		color: #333333;
		font-size: 16px;
		font-weight: bold;
	}

	.current-version {
		margin-top: 80px;
		color: #999999;
		font-size: 16px;
	}

	.last-version {
		margin-top: 17px;
		color: #999999;
		font-size: 16px;
	}
</style>
